<?php
/**
 * This is a url helper that hooks into the routing system of the application
 */

class ImpSoft_View_Filter_Url extends Calypso_View_Dtl_Filter_Abstract {

	protected static $zendView;
	
    public function apply($value, $options = null) {
	
        return self::$zendView->url($options, $value);
    
	}

    public static function setView(Zend_View_Interface $view) {
    
        self::$zendView = $view;
    
    }

    public function getNumRequiredArgs() {
    
    	return 0;
    
	}

}